package com.dcloud.file.service;

import org.jeecg.common.api.vo.Result;
import org.springframework.web.multipart.MultipartFile;

import java.io.FileNotFoundException;
import java.io.InputStream;

public interface FileService {
    Result upload(MultipartFile file);

    InputStream getFile(String fileName) throws FileNotFoundException;
}
